package com.ztgf.shopping.models.service.shop;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ztgf.shopping.models.bo.shop.ShopInfoAuditBO;
import com.ztgf.shopping.models.bo.shop.ShopInfoAuditLoginReturnBO;
import com.ztgf.shopping.models.bo.shop.ShopInfoAuditOpenReturnBO;
import com.ztgf.shopping.models.bo.shop.ShopInfoAuditSaveBO;
import com.ztgf.shopping.models.dto.shop.ShopInfoAuditDTO;
import com.ztgf.shopping.models.vo.shop.*;

/**
 * 店铺审核表服务
 *
 * @author zhanghualang
 * @Date 2020-06-23 11:56:32
 */
public interface IShopInfoAuditService extends IService<ShopInfoAuditDTO> {
    boolean add(ShopInfoAuditSaveBO saveBO);

    ShopInfoAuditLoginVO getLogin(Long id); //获取注册审核详情

    boolean loginReturn(ShopInfoAuditLoginReturnBO returnBO); //注册重新提交

    ShopInfoAuditOpenVO getOpen(Long id); //获取开店审核详情

    boolean openReturn(ShopInfoAuditOpenReturnBO returnBO); //开店重新提交

    ShopInfoAuditChangeVO getChange(Long id); //获取资质变更详情

    ShopInfoAuditNewBrandVO getBrand(Long id); //获取新增品牌详情

    ShopInfoAuditCategoryVO getCategory(Long id); //获取新增品牌类目详情

    Page<ShopInfoAuditDTO> queryLoginPageList(ShopInfoAuditBO bo); // 注册待审核列表

    Integer queryLoginCount(); //注册待审核数量

    Page<ShopInfoAuditDTO> selectChangePage(ShopInfoAuditBO bo); //资质变更审核列表

    Page<ShopInfoAuditDTO> selectAddBrandPage(ShopInfoAuditBO bo); //新增品牌审核列表

    Page<ShopInfoAuditDTO> selectAddCategoryPage(ShopInfoAuditBO bo); //新增类目审核列表
}
